-
Notifications
You must be signed in to change notification settings - Fork 7
feat: Offline #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Offline #10
Conversation
docs/front-end/offline.md
Outdated
|
||
This will allow a web application developer to store the html, css, and js files into a cache in the browser, which can then be loaded from the Service Worker. | ||
|
||
Unrealted to offline, but they will also allow access to push notifications for the web. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*unrelated spelled incorrectly
docs/front-end/offline.md
Outdated
@@ -0,0 +1,66 @@ | |||
# Offline | |||
|
|||
Offline could mean mulitple things in the context of Web Applications and it is important to be prepared for those different scenarios. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*multiple spelled incorrectly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
As a follow-up do you think it makes sense to cover the following:
- How to also handle the case of the user's browser not supporting service workers
- Bunch of problems with service workers
- When service workers are worth it
Both approaches have a similar concept of getting something to the user quickly while the rest is being loaded in the background. | ||
|
||
### The Cache | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you think it's useful to add
- Precaching
- Serving requests from the cache
Or possibly add a link to the Service Worker lifecycle docs.
nice updates, couple of minor spelling mistakes. Some discussion points as comments. Overall LGTM 👍 |
Adding the first draft of the offline section